package com.ridaizu.model.form;

import java.util.Date;
import java.util.List;

import javax.faces.bean.SessionScoped;

import com.ridaizu.model.BrandSeriesManager;
import com.ridaizu.model.Model;

@javax.faces.bean.ManagedBean(name = "brandSeriesManagerForm")
@SessionScoped
public class BrandSeriesManagerForm extends Model {

	private static final long serialVersionUID = 1L;

	private String id;

	private String brandId;

	private String brandSeriesId;

	private String rgtOpt;

	private Date rgtDate;

	private String updOpt;

	private Date updDate;

	private BrandSeriesManager selectedBrandSeriesManager;

	private List<BrandSeriesManager> selectedBrandSeriesManagerList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getBrandId() {
		return brandId;
	}

	public void setBrandId(String brandId) {
		this.brandId = brandId;
	}

	public String getBrandSeriesId() {
		return brandSeriesId;
	}

	public void setBrandSeriesId(String brandSeriesId) {
		this.brandSeriesId = brandSeriesId;
	}

	public String getRgtOpt() {
		return rgtOpt;
	}

	public void setRgtOpt(String rgtOpt) {
		this.rgtOpt = rgtOpt;
	}

	public Date getRgtDate() {
		return rgtDate;
	}

	public void setRgtDate(Date rgtDate) {
		this.rgtDate = rgtDate;
	}

	public String getUpdOpt() {
		return updOpt;
	}

	public void setUpdOpt(String updOpt) {
		this.updOpt = updOpt;
	}

	public Date getUpdDate() {
		return updDate;
	}

	public void setUpdDate(Date updDate) {
		this.updDate = updDate;
	}

	public BrandSeriesManager getSelectedBrandSeriesManager() {
		return selectedBrandSeriesManager;
	}

	public void setSelectedBrandSeriesManager(
			BrandSeriesManager selectedBrandSeriesManager) {
		this.selectedBrandSeriesManager = selectedBrandSeriesManager;
	}

	public List<BrandSeriesManager> getSelectedBrandSeriesManagerList() {
		return selectedBrandSeriesManagerList;
	}

	public void setSelectedBrandSeriesManagerList(
			List<BrandSeriesManager> selectedBrandSeriesManagerList) {
		this.selectedBrandSeriesManagerList = selectedBrandSeriesManagerList;
	}

	public void clearAll() {
		this.id = null;
		this.brandId = null;
		this.brandSeriesId = null;
		this.rgtOpt = null;
		this.rgtDate = null;
		this.updOpt = null;
		this.updDate = null;
		this.selectedBrandSeriesManager = null;
		this.selectedBrandSeriesManagerList = null;
	}

}
